   	rownumbers: true, 
    rownumWidth:35,
   	rowNum: 20,
   	autowidth: true,
   	rowList:[10,20,30],
   	sortname: 'id',
   	height: 340,
   	pager : '#pager',
    viewrecords: true,
    sortorder: "desc",
    caption:"Advance Query Result",
    postData: {count : <?php echo $num_rows;?>,strsql : '<?php echo $sql;?>',field : <?php echo $num_fields;?>},
}).navGrid('#pager',{edit:false,add:false,del:false});	
}); 


</script>